package Skill;

public class Random1 {
    public static void main(String[] args) {

    }
    public static int ran01p(){
        double p = 0.83;
        return Math.random()<p?0:1;
    }
    public static int ran01(){
        int num;
        do {
            num = ran01p();
        }while (num == ran01p());
        return num;
    }
}
